package com.yjyw.tiexie.bean;

import java.util.List;

public class UnitLeftBean {

    /**
     * success : true
     * code : 1
     * message : 操作成功！
     * data : [{"id":"1288005749881159681","unitName":"第一单元"},{"id":"1288005749881159682","unitName":"1"},{"id":"1288005749881159683","unitName":"1"},{"id":"1288005749881159684","unitName":"1"},{"id":"1288005749881159685","unitName":"1"},{"id":"1288005749881159688","unitName":"第一单元第二小节"},{"id":"1288005749881159689","unitName":"第一单元第二小节第一课时"},{"id":"1288005749881159691","unitName":"11111"},{"id":"1288005749881159693","unitName":"1312"}]
     */

    private boolean success;
    private int code;
    private String message;
    private List<DataBean> data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1288005749881159681
         * unitName : 第一单元
         */

        private String id;
        private String unitName;
        private boolean isSelect;

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }
    }
}
